/**
 * 
 */
package darksideoftheloom;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

/**
 * @author Roger
 *
 */
public class EventTest {

	@Test
	public void test() {
		//Test for empty List.
		Event test_event = null;
		assertNull(test_event);
		
		//Test that a newly initialized Event has a empty List, a Organizer and no login user.
		test_event = new Event();
		assertTrue(test_event.getAttendees().isEmpty());
		assertEquals(test_event.getOrganizer().getUserID(), "all mighty bob");
		assertEquals(test_event.getOrganizer().getPassword(), "password");
		
		test_event.addAttendee("Roger Trottier", "2534397862", "3325 S. 222nd Pl.", 
				"scrollox@gmail.com", "scrollox", "111");
		test_event.addAttendee("Josh", "2534397862", "3325 S. 222nd Pl.", 
				"scrollox@gmail.com", "Josh", "222");
		test_event.addAttendee("Shane", "2534397862", "3325 S. 222nd Pl.", 
				"scrollox@gmail.com", "Shane", "333");
		test_event.addAttendee("Michael", "2534397862", "3325 S. 222nd Pl.", 
				"scrollox@gmail.com", "Michael", "444");
	}

}
